package saxon;
import com.mchange.v2.c3p0.ComboPooledDataSource;
import  saxon.util.c3p0Util;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;

public class c3p0Test {
    public static void main (String[] args) {
        try {
            Connection connection = c3p0Util.getConnection ();
            Statement statement = connection.createStatement ();
            System.out.println (statement.executeUpdate ("INSERT INTO result VALUES(\"1005\",\"3\",\"2020-05-14 16:00:00\",\"100861\");"));
            connection.close ();
        } catch (SQLException throwables) {
            throwables.printStackTrace ();
        }
    }
}
